dundas.controls.ViewPanel Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.ViewPanel
 

Constructors

 
  Name Description
init Create a new instance of the viewPanel.
 
 

Properties

 
  Name Description
canvasService
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isExpanded Gets the value indicating whether or not this viewpanel is expanded
isHidden Gets or sets a value to hide or show this viewpanel.
isInViewMode
isVisible Gets a value indicating the visible state of this viewpanel.
resetScaleValue Gets or sets the value to reset zoom to when the reset button is pressed.
scaleFactor
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
collapse collapse the view panel.
dispose Disposes this view panel, unsubscribing all events and HTML elements. Inherited from dundas.EventDisposable.
expand Expand the view panel.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
getDetachedPopupWindow Retrieves the detached popup window.
hide Hide the view panel.
onVisionChanged Fired when the vision is modified.
onVisionChangeStart Fired when the vision is starting to get modified.
onVisionChanging Fired when the vision is modifying.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
redrawViewport Re-draw the entire viewport
refreshPreviewBackground Refresh the background of the preview panel to match the previewing background.
refreshPreviewContent Re-draws the viewport's contents.
removePreviewContent Remove the preview content with its Id matching elementId.
resetContent Removes all preview content,
resetScale Reset the scale to the scale specified in resetScaleValue property.
restart Re-start the view panel.
setVision Sets current vision of the viewPanel.
show Show the viewpanel.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribeVisibleChanged Subscribe an handler for the VisibleChanged event.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.